package com.job.createType.abstractFactory;

/**
 * @Author 王博
 * @DateTime 2025-04-08 16:10
 */
public class AmericanFactory implements CoffeeBreadFactory{
    @Override
    public Coffee createCoffee() {
        return new AmericanCoffee();
    }

    @Override
    public Bread createBread() {
        return new ToastBread();
    }
}
